<template>
  <view :style="themeColor">
    <view class="page">
      <benben-popup v-model="popupShow1685609745125" :mask="true" :mask-close-able="true" mode='center'>
        <!---flex布局flex布局开始-->
        <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout home_flex_0">
          <view class='flex flex-direction flex-wrap align-stretch home_fd0_0'>

            <scroll-view class='home_fd0_0_c0' :scroll-y='true' :show-scrollbar='true'>
              <view class='flex flex-direction align-stretch benben-scroll flex'>
                <view class='flex flex-wrap align-center home_fd0_0_c0_c0'>
                  <view class='flex flex-direction flex-wrap align-center home_fd0_0_c0_c0_c0'>
                    <view class='flex flex-wrap align-center'>
                      <text class='home_fd0_0_c0_c0_c0_c0_c0'>￥</text>
                      <text class='home_fd0_0_c0_c0_c0_c0_c1'>5</text>
                    </view>
                    <view class='flex flex-wrap align-center'>
                      <text class='home_fd0_0_c0_c0_c0_c1_c0'>满</text>
                      <text class='home_fd0_0_c0_c0_c0_c1_c0'>200</text>
                      <text class='home_fd0_0_c0_c0_c0_c1_c0'>可减</text>
                    </view>
                  </view>
                  <view class='flex flex-direction flex-wrap align-stretch flex-sub home_fd0_0_c0_c0_c1'>
                    <text class='home_fd0_0_c0_c0_c1_c0'>双12活动专享优惠券</text>
                    <view class='flex flex-wrap align-center home_fd0_0_c0_c0_c1_c1'>
                      <view class='flex flex-direction flex-wrap align-stretch flex-sub'>
                        <text class='home_fd0_0_c0_c0_c1_c1_c0_c0'>全场可用</text>
                        <view class='flex align-center'>
                          <text class='home_fd0_0_c0_c0_c1_c1_c0_c1_c0'>有效期至：</text>
                          <text class='home_fd0_0_c0_c0_c1_c1_c0_c1_c0'>2020-9-28</text>
                        </view>
                      </view>
                    </view>
                  </view>
                  <text class='home_fd0_0_c0_c0_c2'>立
                    即
                    领
                    取</text>
                </view>
              </view>
            </scroll-view>

          </view>
          <view class='flex flex-wrap align-center justify-center home_fd0_1'>
            <!-- <image class='home_fd0_1_c0' mode="aspectFit" :src='STATIC_URL+"9.png"'></image> -->
          </view>
        </view>

        <!---flex布局flex布局结束-->

      </benben-popup>
      <view class="flex flex-direction align-stretch benben-position-layout flex home_flex_1"
        :style="{height:(180+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
        <view class='flex flex-wrap align-center justify-between'>
          <view class='flex flex-wrap align-center home_fd1_0_c0'>
            <image class='home_fd1_0_c0_c0' mode="aspectFit" :src='STATIC_URL+"491.png"'></image>
          </view>
        </view>
        <view class='flex align-center self-center justify-between home_fd1_1'>
          <view class='flex align-center home_fd1_1_c0' @tap.stop="handleJumpDiy" data-type="navigateTo"
            :data-url="`/pages/sy/search/search`">
            <image class='home_fd1_1_c0_c0' mode="aspectFit" :src='STATIC_URL+"183.png"'></image>
            <text class='self-center home_fd1_1_c0_c1'>搜索</text>
          </view>
          <view class='flex flex-wrap align-center home_fd1_1_c1' @tap.stop="handleJumpDiy" data-type="navigateTo"
            :data-url="`/pages/wd/myNews/myNews`">
            <image class='home_fd1_1_c1_c0' mode="aspectFit" :src='STATIC_URL+"492.png"'></image>
            <benben-message-num class='home_fd1_1_c1_c1' size='24' color='#fff' background-color='red'>
            </benben-message-num>
          </view>
        </view>

      </view>
      <view :style="{height: (180+StatusBarRpx)+'rpx'}"></view>
      <!---flex布局flex布局开始-->
      <view class="flex flex-wrap align-stretch benben-flex-layout home_flex_2">
        <view class='flex flex-direction align-center flex-sub home_fd2_0'>
          <view class='flex flex-wrap align-center home_fd2_0_c0'>
            <text class='home_fd2_0_c0_c0'>在咖啡馆里，总是情绪在掌…</text>
            <text class='fu-iconfont2  home_fd2_0_c0_c1'>&#xe7f2;</text>
          </view>
        </view>
        <view class='flex flex-direction flex-wrap align-center'>
          <view style="position: relative">
            <swiper ref="benbenSwiperfd2_1_c0" @change="bannerIndexfd2_1_c0 = $event.detail.current"
              class='flex position-relative home_fd2_1_c0' previous-margin="0rpx" next-margin="0rpx"
              :display-multiple-items="1" :interval="5000" :duration="500" :autoplay='true' :circular='true'>


              <swiper-item class='flex  home_fd2_1_c0'>
                <image class='home_fd2_1_c0_c1_c0' mode="aspectFill" :src='STATIC_URL+"493.png"'></image>
              </swiper-item>


            </swiper>
            <view style="position: absolute" class="flex dot flex align-center justify-center home_swiperDotfd2_1_c0">
              <template v-for="(item, index) in (1)">
                <view :key="index" v-if="bannerIndexfd2_1_c0 == index"
                  class="flex dot selected flex align-center justify-center home_swiperDotSelectedfd2_1_c0">
                </view>
                <view :key="index" v-else
                  class="flex dot unselected flex align-center justify-center home_swiperDotUnselectedfd2_1_c0">
                </view>
              </template>
            </view>
          </view>
        </view>
      </view>

      <!---flex布局flex布局结束-->
      <!---金刚区flex布局开始-->
      <view class="flex flex-wrap align-center justify-between benben-flex-layout home_flex_3">
        <view class='flex flex-direction flex-wrap align-center' @tap.stop="handleJumpDiy" data-type="switchTab"
          :data-url="`/pages/tabBar/woyaoqiuzhu/woyaoqiuzhu`">
          <image class='home_fd3_0_c0' mode="aspectFit" :src='STATIC_URL+"494.png"'></image>
          <text class='home_fd3_0_c1'>我要求助</text>
        </view>
        <view class='flex flex-direction flex-wrap align-center' @tap.stop="handleJumpDiy" data-type="switchTab"
          :data-url="`/pages/tabBar/woyaoqiuzhu/woyaoqiuzhu`">
          <image class='home_fd3_0_c0' mode="aspectFit" :src='STATIC_URL+"495.png"'></image>
          <text class='home_fd3_0_c1'>我来帮扶</text>
        </view>
        <view class='flex flex-direction flex-wrap align-center' @tap.stop="handleJumpDiy" data-type="navigateTo"
          :data-url="`/pages/sy/huiyuanshangchengliebiao/huiyuanshangchengliebiao`">
          <image class='home_fd3_0_c0' mode="aspectFit" :src='STATIC_URL+"496.png"'></image>
          <text class='home_fd3_0_c1'>会员商城</text>
        </view>
        <view class='flex flex-direction flex-wrap align-center justify-center' @tap.stop="handleJumpDiy"
          data-type="switchTab" :data-url="`/pages/tabBar/hezuolianmeng/hezuolianmeng`">
          <image class='home_fd3_0_c0' mode="aspectFit" :src='STATIC_URL+"497.png"'></image>
          <text class='home_fd3_0_c1'>会员生活</text>
        </view>
        <view class='flex flex-direction flex-wrap align-center' @tap.stop="handleJumpDiy" data-type="navigateTo"
          :data-url="`/pages/sy/wodefannao/wodefannao`">
          <image class='home_fd3_0_c0' mode="aspectFit" :src='STATIC_URL+"498.png"'></image>
          <text class='home_fd3_0_c1'>我的烦恼</text>
        </view>
      </view>

      <!---金刚区flex布局结束-->
      <!---flex布局flex布局开始-->
      <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout home_flex_4">
        <view class='flex flex-wrap align-center justify-between'>
          <image class='home_fd4_0_c0' mode="aspectFill" :src='STATIC_URL+"499.png"' @tap.stop="handleJumpDiy"
            data-type="switchTab" :data-url="`/pages/tabBar/hezuolianmeng/hezuolianmeng`"></image>
        </view>
      </view>

      <!---flex布局flex布局结束-->
      <!---flex布局flex布局开始-->
      <view class="flex flex-wrap align-center benben-flex-layout home_flex_5">
        <image class='home_fd5_0' mode="aspectFit" :src='STATIC_URL+"494.png"'></image>
        <text class='home_fd5_1'>精选求助信息</text>
      </view>

      <!---flex布局flex布局结束-->
      <!---flex布局flex布局开始-->
      <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout home_flex_6">
        <view class='flex flex-wrap align-center justify-between home_fd6_0'>
          <view class='flex flex-direction flex-wrap align-stretch home_fd6_0_c0' @tap.stop="handleJumpDiy"
            data-type="navigateTo" :data-url="`/pages/sy/qiuzhuxiangqing/qiuzhuxiangqing`">
            <view class='flex flex-wrap align-center home_fd6_0_c0_c0'>
              <view class='flex align-center self-center home_fd6_0_c0_c0_c0'>
                <image class='home_fd6_0_c0_c0_c0_c0' mode="aspectFit" :src='STATIC_URL+"500.png"'></image>
                <text class='home_fd6_0_c0_c0_c0_c1'>西安市</text>
              </view>
              <image class='home_fd6_0_c0_c0_c1' mode="aspectFit" :src='STATIC_URL+"501.png"'></image>
              <image class='home_fd6_0_c0_c0_c2' mode="aspectFill" :src='STATIC_URL+"346.png"'></image>
            </view>
            <view class='home_fd6_0_c0_c1'>
              <text class='home_fd6_0_c0_c1_c0' v-if=" type=='1'">线上</text><text class='home_fd6_0_c0_c1_c0_1'
                v-if=" type=='2'">线上</text>
              <text class='home_fd6_0_c0_c1_c1'>星愿救助站，流浪猫流浪狗领养</text>
            </view>
            <view class='flex flex-wrap align-center home_fd6_0_c0_c2'>
              <text class='home_fd6_0_c0_c2_c0'>¥</text>
              <text class=' home_fd6_0_c0_c2_c1'>
                <text class=' home_price1_fd6_0_c0_c2_c1'>{{ 100 | frontPrice('w') }}</text>
                <text class=' home_price2_fd6_0_c0_c2_c1'>{{ 100 | laterPrice('w') }}</text>
              </text>
            </view>
            <view class='flex flex-wrap align-center self-center home_fd6_0_c0_c3'>
              <image class='home_fd6_0_c0_c3_c0' mode="aspectFit" :src='STATIC_URL+"297.jpg"'></image>
              <text class='home_fd6_0_c0_c3_c1'>小恩与法时空</text>
            </view>
          </view>
        </view>
      </view>

      <!---flex布局flex布局结束-->


    </view>
  </view>
</template>
<script>
  export default {
    components: {},


    data() {
      return {
        "bannerIndexfd2_1_c0": 0,
        "popupShow1685609745125": false,
        "type": "1"
      };
    },
    computed: {
      themeColor() {
        return this.$store.getters.themeColor
      },

    },
    watch: {},
    onLoad(options) {
      if (global.appTabBarType) this.toHomeDiy()
    },
    onUnload() {

    },
    onReady() {

    },
    onShow() {

    },
    onHide() {

    },
    onResize() {

    },
    onPullDownRefresh() {

    },
    onReachBottom(e) {

    },
    onPageScroll(e) {

    },
    methods: {

    }
  };
</script>
<style lang="scss" scoped>
  .page {
    width: 100vw;
    overflow-x: hidden;
    min-height: calc(100vh - var(--window-bottom));
    background: url(image-path('490.png')) no-repeat;
    background-size: 100% auto;
  }

  .home_flex_0 {
    width: 617rpx;
  }

  .home_fd0_1_c0 {
    width: 64rpx;
    height: 64rpx;
    border-radius: 28rpx 28rpx 28rpx 28rpx;
  }

  .home_fd0_1 {
    margin: 48rpx 0rpx 0rpx 0rpx;
  }

  .home_fd0_0_c0_c0_c2 {
    color: #EF0600;
    font-size: 20rpx;
    font-weight: 700;
    line-height: 28rpx;
  }

  .home_fd0_0_c0_c0_c1_c1_c0_c1_c0 {
    color: rgba(102, 102, 102, 1);
    font-size: 18rpx;
    font-weight: 500;
    line-height: 25rpx;
  }

  .home_fd0_0_c0_c0_c1_c1_c0_c0 {
    color: var(--benbenFontColor0);
    font-size: 20rpx;
    font-weight: 500;
    line-height: 28rpx;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    max-width: 200rpx;
    margin: 0rpx 0rpx 8rpx 0rpx;
  }

  .home_fd0_0_c0_c0_c1_c1 {
    margin: 6rpx 0rpx 0rpx 0rpx;
  }

  .home_fd0_0_c0_c0_c1_c0 {
    color: var(--benbenFontColor0);
    font-size: 22rpx;
    font-weight: 600;
    line-height: 30rpx;
    margin: 0rpx 0rpx 6rpx 0rpx;
  }

  .home_fd0_0_c0_c0_c1 {
    margin: 24rpx 0rpx 20rpx 16rpx;
  }

  .home_fd0_0_c0_c0_c0_c1_c0 {
    color: var(--benbenFontColor0);
    font-size: 18rpx;
    font-weight: 400;
    line-height: 28rpx;
  }

  .home_fd0_0_c0_c0_c0_c0_c1 {
    color: var(--benbenFontColor7);
    font-size: 56rpx;
    font-weight: 700;
    line-height: 67rpx;
  }

  .home_fd0_0_c0_c0_c0_c0_c0 {
    color: var(--benbenFontColor7);
    font-size: 24rpx;
    font-weight: 700;
    line-height: 33rpx;
    margin: 12rpx 0rpx 0rpx 0rpx;
  }

  .home_fd0_0_c0_c0_c0 {
    width: 140rpx;
  }

  .home_fd0_0_c0_c0 {
    background: url(image-path('5.png')) no-repeat;
    background-size: 100% auto;
    padding: 0rpx 14rpx 0rpx 0rpx;
    margin: 0rpx 0rpx 24rpx 0rpx;
    width: 481rpx;
  }

  .home_fd0_0_c0 {
    touch-action: none;
    width: 481rpx;
    height: 350rpx;
  }

  .home_fd0_0 {
    background: url(image-path('4.png')) no-repeat;
    background-size: 100% 100% !important;
    padding: 294rpx 68rpx 0rpx 69rpx;
  }

  .home_flex_1 {
    background: url(image-path('490.png')) no-repeat;
    width: 750rpx;
    height: 180rpx;
    overflow: hidden;
    z-index: 10;
    top: 0rpx;
    background-size: 100% auto !important;
  }

  .home_fd1_1_c1_c1 {
    position: absolute;
    top: -10rpx;
    right: -10rpx;
  }

  .home_fd1_1_c1_c0 {
    width: 40rpx;
    height: 40rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
    margin: 0rpx 0rpx 0rpx 0rpx;
    position: relative;
  }

  .home_fd1_1_c1 {
    position: relative;
  }

  .home_fd1_1_c0_c1 {
    color: #999999;
    font-size: 28rpx;
    font-weight: 500;
    margin: 0rpx 0rpx 0rpx 16rpx;
  }

  .home_fd1_1_c0_c0 {
    width: 24rpx;
    height: 24rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
  }

  .home_fd1_1_c0 {
    background: var(--benbenbgColor1);
    border-radius: 36rpx;
    padding: 0rpx 24rpx 0rpx 24rpx;
    height: 72rpx;
    width: 622rpx;
  }

  .home_fd1_1 {
    margin: 26rpx 0rpx 0rpx 0rpx;
    padding: 0rpx 32rpx 0rpx 24rpx;
  }

  .home_fd1_0_c0_c0 {
    width: 220rpx;
    height: 67rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
  }

  .home_fd1_0_c0 {
    margin: 0rpx 0rpx 0rpx 24rpx;
  }

  .home_flex_2 {
    padding: 0rpx 24rpx 0rpx 24rpx;
  }

  .home_numberfd2_1_c0_c0 {
    background: #525050;
    position: absolute;
    bottom: 20rpx;
    right: 30rpx;
    width: 80rpx;
    height: 40rpx;
    border-radius: 6rpx 6rpx 6rpx 6rpx;
    font-size: 24rpx;
    color: #FFFFFF;
    line-height: 46rpx;
    font-weight: 400;
  }

  .home_fd2_1_c0_c1_c0 {
    width: 344rpx;
    height: 350rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
  }

  .home_fd2_1_c0 {
    width: 344rpx;
    height: 350rpx;
  }

  .home_swiperDotUnselectedfd2_1_c0 {
    border: 1px solid rgba(0, 0, 0, 0.3);
    background: #FFFFFF;
    width: 12rpx;
    height: 12rpx;
    border-radius: 12rpx 12rpx 12rpx 12rpx;
    margin: 0rpx 6rpx 0rpx 0rpx;
    font-size: 24rpx;
    color: #fff;
  }

  .home_swiperDotSelectedfd2_1_c0 {
    border: 1px solid #00A7FF;
    background: #FFFFFF;
    width: 26rpx;
    height: 12rpx;
    border-radius: 6rpx 6rpx 6rpx 6rpx;
    margin: 0rpx 6rpx 0rpx 0rpx;
    font-size: 24rpx;
    color: #fff;
  }

  ::v-deep .home_swiperDotfd2_1_c0 {
    position: absolute;
    bottom: 20rpx;
    left: 0rpx;
    right: 0rpx;
  }

  .home_fd2_0_c0_c1 {
    font-size: 22rpx;
    color: var(--benbenFontColor3);
  }

  .home_fd2_0_c0_c0 {
    max-width: 300rpx;
    font-size: 22rpx;
    color: var(--benbenFontColor3);
  }

  .home_fd2_0_c0 {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8rpx;
    padding: 0rpx 16rpx 0rpx 16rpx;
    margin: 0rpx 0rpx 12rpx 0rpx;
    height: 40rpx;
    line-height: 40rpx;
  }

  .home_fd2_0 {
    margin: 0rpx 16rpx 0rpx 0rpx;
    height: 350rpx;
    overflow: hidden;
  }

  .home_flex_3 {
    padding: 22rpx 32rpx 32rpx 32rpx;
  }

  .home_fd3_0_c1 {
    font-size: 24rpx;
    font-weight: 500;
    color: #333333;
    line-height: 33rpx;
    margin: -10rpx 0rpx 0rpx 0rpx;
  }

  .home_fd3_0_c0 {
    width: 88rpx;
    height: 88rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
    margin: 0rpx 0rpx 20rpx 0rpx;
  }

  .home_flex_4 {
    padding: 32rpx 32rpx 44rpx 32rpx;
  }

  .home_fd4_0_c0 {
    width: 686rpx;
    height: 160rpx;
    border-radius: 8rpx;
  }

  .home_flex_5 {
    padding: 0rpx 0rpx 0rpx 32rpx;
  }

  .home_fd5_1 {
    color: #333333;
    font-size: 32rpx;
    font-weight: 700;
    margin: 0rpx 0rpx 0rpx 10rpx;
  }

  .home_fd5_0 {
    width: 54rpx;
    height: 48rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
  }

  .home_flex_6 {
    padding: 0rpx 24rpx 0rpx 24rpx;
  }

  .home_fd6_0_c0_c3_c1 {
    color: #333333;
    font-size: 24rpx;
    font-weight: 400;
    margin: 0rpx 0rpx 0rpx 16rpx;
  }

  .home_fd6_0_c0_c3_c0 {
    width: 40rpx;
    height: 40rpx;
    border-radius: 100rpx;
  }

  .home_fd6_0_c0_c3 {
    padding: 0rpx 8rpx 0rpx 8rpx;
  }

  .home_price2_fd6_0_c0_c2_c1 {
    font-size: 28rpx;
  }

  .home_price1_fd6_0_c0_c2_c1 {
    font-size: 32rpx;
  }

  .home_fd6_0_c0_c2_c1 {
    color: rgba(204, 0, 0, 1);
    font-weight: 700;
    font-size: 20rpx;
    line-height: 28rpx;
    margin: 6rpx 0rpx 0rpx 0rpx;
  }

  .home_fd6_0_c0_c2_c0 {
    color: rgba(204, 0, 0, 1);
    font-weight: 600;
    line-height: 28rpx;
  }

  .home_fd6_0_c0_c2 {
    margin: 16rpx 20rpx 12rpx 20rpx;
  }

  .home_fd6_0_c0_c1_c1 {
    color: #333333;
    font-size: 28rpx;
    font-weight: 700;
    margin: 0rpx 0rpx 0rpx 12rpx;
  }

  .home_fd6_0_c0_c1_c0_1 {
    border: 0.5px solid rgba(235, 55, 55, 1);
    background: #FEEFEF;
    width: 64rpx;
    height: 32rpx;
    line-height: 32rpx;
    background-size: 100% auto;
    color: rgba(235, 55, 55, 1);
    font-size: 22rpx;
    padding: 5rpx 8rpx 5rpx 8rpx;
    border-radius: 8rpx;
  }

  .home_fd6_0_c0_c1_c0 {
    border: 0.5px solid rgba(34, 135, 236, 1);
    background: rgba(228, 240, 253, 1);
    width: 64rpx;
    height: 32rpx;
    line-height: 32rpx;
    background-size: 100% auto;
    color: var(--benbenFontColor4);
    font-size: 22rpx;
    padding: 5rpx 8rpx 5rpx 8rpx;
    border-radius: 8rpx;
  }

  .home_fd6_0_c0_c1 {
    padding: 8rpx 8rpx 0rpx 8rpx;
  }

  .home_fd6_0_c0_c0_c2 {
    width: 344rpx;
    height: 346rpx;
    border-radius: 16rpx 16rpx 0rpx 0rpx;
  }

  .home_fd6_0_c0_c0_c1 {
    width: 36rpx;
    height: 36rpx;
    border-radius: 0rpx;
    position: absolute;
    z-index: 9;
    right: 16rpx;
    top: 16rpx;
  }

  .home_fd6_0_c0_c0_c0_c1 {
    color: #FFFFFF;
    font-size: 22rpx;
    font-weight: 400;
  }

  .home_fd6_0_c0_c0_c0_c0 {
    width: 20rpx;
    height: 24rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
    margin: 0rpx 8rpx 0rpx 0rpx;
  }

  .home_fd6_0_c0_c0_c0 {
    background: rgba(0, 0, 0, 0.4);
    position: absolute;
    bottom: 0rpx;
    z-index: 99;
    border-radius: 12rpx 12rpx 12rpx 0rpx;
    height: 40rpx;
    padding: 0rpx 10rpx 0rpx 10rpx;
  }

  .home_fd6_0_c0_c0 {
    position: relative;
  }

  .home_fd6_0_c0 {
    background: #FFFFFF;
    border-radius: 16rpx 16rpx 16rpx 16rpx;
    margin: 0rpx 0rpx 20rpx 0rpx;
    padding: 0rpx 0rpx 24rpx 0rpx;
    box-shadow: 0rpx 3rpx 30rpx #E8E8E8;
    width: 344rpx;
  }

  .home_fd6_0 {
    margin: 37rpx 0rpx 0rpx 0rpx;
  }
</style>
